package com.forclass;

public class LayzzySingleTonTest {
    public static void main(String[] args) {
        for (int x =0;x<10; x++) {
            new Thread(()-> {
                LayzzySingleTon layTon = LayzzySingleTon.getInstance();
            System.out.println(layTon);
            },"单例线程-"+x).start();
        }
    }
}
